emacs.git
6 years agoparameter passing works again
Andrea Corallo [Tue, 9 Jul 2019 22:39:42 +0000 (00:39 +0200)]
parameter passing works again

6 years agorename entry block
Andrea Corallo [Wed, 10 Jul 2019 00:36:49 +0000 (02:36 +0200)]
rename entry block

6 years agorework hashtable usage
Andrea Corallo [Wed, 10 Jul 2019 00:36:28 +0000 (02:36 +0200)]
rework hashtable usage

6 years agoproper return in place
Andrea Corallo [Tue, 9 Jul 2019 21:54:07 +0000 (23:54 +0200)]
proper return in place

6 years agosimple call support
Andrea Corallo [Tue, 9 Jul 2019 21:32:50 +0000 (23:32 +0200)]
simple call support

6 years agofix function name
Andrea Corallo [Tue, 9 Jul 2019 20:50:52 +0000 (22:50 +0200)]
fix function name

6 years agoupdate tests
Andrea Corallo [Tue, 9 Jul 2019 20:28:29 +0000 (22:28 +0200)]
update tests

6 years agowipe out propagation info every new basic block
Andrea Corallo [Tue, 9 Jul 2019 16:09:47 +0000 (18:09 +0200)]
wipe out propagation info every new basic block

6 years agointroduce FUNCALL1 macro
Andrea Corallo [Tue, 9 Jul 2019 12:46:52 +0000 (14:46 +0200)]
introduce FUNCALL1 macro

6 years agofirst functional function
Andrea Corallo [Mon, 8 Jul 2019 16:33:56 +0000 (18:33 +0200)]
first functional function

6 years agobasic blocks into C
Andrea Corallo [Mon, 8 Jul 2019 15:44:19 +0000 (17:44 +0200)]
basic blocks into C

6 years agoblock list in limple
Andrea Corallo [Mon, 8 Jul 2019 15:04:33 +0000 (17:04 +0200)]
block list in limple

6 years agostart compilation C side
Andrea Corallo [Mon, 8 Jul 2019 13:29:32 +0000 (15:29 +0200)]
start compilation C side

6 years agocomment out unused functions
Andrea Corallo [Mon, 8 Jul 2019 12:13:38 +0000 (14:13 +0200)]
comment out unused functions

6 years agoadd comp-c-func-name
Andrea Corallo [Mon, 8 Jul 2019 10:11:34 +0000 (12:11 +0200)]
add comp-c-func-name

6 years agocalling C
Andrea Corallo [Mon, 8 Jul 2019 09:37:17 +0000 (11:37 +0200)]
calling C

6 years agopurge C side
Andrea Corallo [Mon, 8 Jul 2019 09:18:17 +0000 (11:18 +0200)]
purge C side

6 years agoworking on
Andrea Corallo [Mon, 8 Jul 2019 07:29:13 +0000 (09:29 +0200)]
working on

6 years agomove out comp-limplify-listn
Andrea Corallo [Mon, 8 Jul 2019 07:15:09 +0000 (09:15 +0200)]
move out comp-limplify-listn

6 years agoclean all crazy macrology in favor of some special var
Andrea Corallo [Mon, 8 Jul 2019 07:06:58 +0000 (09:06 +0200)]
clean all crazy macrology in favor of some special var

6 years agoadd SSA
Andrea Corallo [Mon, 8 Jul 2019 05:56:37 +0000 (07:56 +0200)]
add SSA

6 years agosome code for const propagation
Andrea Corallo [Mon, 8 Jul 2019 05:17:28 +0000 (07:17 +0200)]
some code for const propagation

6 years agoadd lists car and cdr
Andrea Corallo [Sun, 7 Jul 2019 20:04:50 +0000 (22:04 +0200)]
add lists car and cdr

6 years agoworking on
Andrea Corallo [Sun, 7 Jul 2019 19:49:11 +0000 (21:49 +0200)]
working on

6 years agofirst limple
Andrea Corallo [Sun, 7 Jul 2019 16:42:55 +0000 (18:42 +0200)]
first limple

6 years agoworking on comp.el
Andrea Corallo [Sun, 7 Jul 2019 10:30:03 +0000 (12:30 +0200)]
working on comp.el

6 years agospill lap
Andrea Corallo [Sun, 7 Jul 2019 08:35:20 +0000 (10:35 +0200)]
spill lap

6 years agoadd comp.el
Andrea Corallo [Sun, 7 Jul 2019 07:23:10 +0000 (09:23 +0200)]
add comp.el

6 years agofix jump table
Andrea Corallo [Sat, 6 Jul 2019 17:51:53 +0000 (19:51 +0200)]
fix jump table

6 years agojump table support
Andrea Corallo [Sat, 6 Jul 2019 14:43:09 +0000 (16:43 +0200)]
jump table support

6 years agooptimize outgoing native manyarg calls
Andrea Corallo [Sat, 6 Jul 2019 09:02:52 +0000 (11:02 +0200)]
optimize outgoing native manyarg calls

6 years agorework COMP_DEBUG strategy
Andrea Corallo [Sat, 6 Jul 2019 07:27:45 +0000 (09:27 +0200)]
rework COMP_DEBUG strategy

6 years agobasic &rest working
Andrea Corallo [Tue, 2 Jul 2019 21:15:11 +0000 (23:15 +0200)]
basic &rest working

6 years agoadd emit_ptr_arithmetic
Andrea Corallo [Tue, 2 Jul 2019 21:14:36 +0000 (23:14 +0200)]
add emit_ptr_arithmetic

6 years agoextend cast capabilities
Andrea Corallo [Tue, 2 Jul 2019 20:46:23 +0000 (22:46 +0200)]
extend cast capabilities

6 years agoadd &rest decription
Andrea Corallo [Mon, 1 Jul 2019 22:04:03 +0000 (00:04 +0200)]
add &rest decription

6 years agointroduce parsearg
Andrea Corallo [Mon, 1 Jul 2019 20:30:08 +0000 (22:30 +0200)]
introduce parsearg

6 years agointroduce MAX_POP
Andrea Corallo [Mon, 1 Jul 2019 19:27:52 +0000 (21:27 +0200)]
introduce MAX_POP

6 years agoadd comp-tests-ffuncall-lambda-f test
Andrea Corallo [Sun, 30 Jun 2019 19:01:28 +0000 (21:01 +0200)]
add comp-tests-ffuncall-lambda-f test

6 years agofix native call to MANY func
Andrea Corallo [Sun, 30 Jun 2019 18:53:59 +0000 (20:53 +0200)]
fix native call to MANY func

6 years agofix missing bubble sort test
Andrea Corallo [Sun, 30 Jun 2019 15:59:04 +0000 (17:59 +0200)]
fix missing bubble sort test

6 years agoadd primitve call test
Andrea Corallo [Sun, 30 Jun 2019 15:42:30 +0000 (17:42 +0200)]
add primitve call test

6 years agoadd emit_assign_to_stack_slot
Andrea Corallo [Sun, 30 Jun 2019 15:23:14 +0000 (17:23 +0200)]
add emit_assign_to_stack_slot

6 years agooptimize primitve native call
Andrea Corallo [Sun, 30 Jun 2019 14:10:17 +0000 (16:10 +0200)]
optimize primitve native call

6 years agopropagate contant types and optimize self calls
Andrea Corallo [Sun, 30 Jun 2019 12:35:41 +0000 (14:35 +0200)]
propagate contant types and optimize self calls

6 years agointroduce stack_el_t
Andrea Corallo [Sun, 30 Jun 2019 11:30:49 +0000 (13:30 +0200)]
introduce stack_el_t

6 years agopass orig lisp f name into compile_f
Andrea Corallo [Sun, 30 Jun 2019 10:07:32 +0000 (12:07 +0200)]
pass orig lisp f name into compile_f

6 years agorework emit_cond_jump
Andrea Corallo [Sun, 30 Jun 2019 09:05:02 +0000 (11:05 +0200)]
rework emit_cond_jump

6 years agoinline setcdr support
Andrea Corallo [Sun, 30 Jun 2019 08:42:13 +0000 (10:42 +0200)]
inline setcdr support

6 years agofix setcar
Andrea Corallo [Sun, 30 Jun 2019 08:11:39 +0000 (10:11 +0200)]
fix setcar

6 years agoreworking blocks
Andrea Corallo [Sat, 29 Jun 2019 14:44:06 +0000 (16:44 +0200)]
reworking blocks

6 years agoemit comments for inlined functions
Andrea Corallo [Sat, 29 Jun 2019 13:42:27 +0000 (15:42 +0200)]
emit comments for inlined functions

6 years agoadd setcar
Andrea Corallo [Sat, 29 Jun 2019 10:08:24 +0000 (12:08 +0200)]
add setcar

6 years agohomogeneous emit names
Andrea Corallo [Sat, 29 Jun 2019 09:17:36 +0000 (11:17 +0200)]
homogeneous emit names

6 years agoadd define_CHECK_IMPURE
Andrea Corallo [Thu, 27 Jun 2019 22:08:23 +0000 (00:08 +0200)]
add define_CHECK_IMPURE

6 years agomake use of gcc_jit_context_get_int_type
Andrea Corallo [Thu, 27 Jun 2019 22:06:57 +0000 (00:06 +0200)]
make use of gcc_jit_context_get_int_type

6 years agoadding more types
Andrea Corallo [Thu, 27 Jun 2019 22:06:24 +0000 (00:06 +0200)]
adding more types

6 years agorework emit_call_n_ref
Andrea Corallo [Wed, 26 Jun 2019 20:29:39 +0000 (22:29 +0200)]
rework emit_call_n_ref

6 years agoadd uintptr_type
Andrea Corallo [Wed, 26 Jun 2019 20:28:56 +0000 (22:28 +0200)]
add uintptr_type

6 years agoadd define_check_type
Andrea Corallo [Mon, 24 Jun 2019 18:23:49 +0000 (20:23 +0200)]
add define_check_type

6 years agoinline cdr
Andrea Corallo [Mon, 24 Jun 2019 12:43:50 +0000 (14:43 +0200)]
inline cdr

6 years agosplit XCAR
Andrea Corallo [Mon, 24 Jun 2019 12:13:01 +0000 (14:13 +0200)]
split XCAR

6 years agoadd car cdr tests
Andrea Corallo [Mon, 24 Jun 2019 12:07:59 +0000 (14:07 +0200)]
add car cdr tests

6 years agofull inline car
Andrea Corallo [Mon, 24 Jun 2019 11:47:08 +0000 (13:47 +0200)]
full inline car

6 years agofix XUNTAG
Andrea Corallo [Mon, 24 Jun 2019 11:45:44 +0000 (13:45 +0200)]
fix XUNTAG

6 years agoadd emit_EQ
Andrea Corallo [Mon, 24 Jun 2019 11:45:08 +0000 (13:45 +0200)]
add emit_EQ

6 years agoadd emit_NILP
Andrea Corallo [Mon, 24 Jun 2019 11:44:25 +0000 (13:44 +0200)]
add emit_NILP

6 years agoadd emit_rval_XCONS
Andrea Corallo [Mon, 24 Jun 2019 11:43:58 +0000 (13:43 +0200)]
add emit_rval_XCONS

6 years agobetter emit_cast
Andrea Corallo [Mon, 24 Jun 2019 10:25:15 +0000 (12:25 +0200)]
better emit_cast

6 years agodefine cast union into dedicated function
Andrea Corallo [Mon, 24 Jun 2019 10:24:50 +0000 (12:24 +0200)]
define cast union into dedicated function

6 years agoreindent define_thread_state_struct
Andrea Corallo [Mon, 24 Jun 2019 09:34:27 +0000 (11:34 +0200)]
reindent define_thread_state_struct

6 years agoadd XUNTAG
Andrea Corallo [Mon, 24 Jun 2019 09:33:44 +0000 (11:33 +0200)]
add XUNTAG

6 years agoadd char * type support
Andrea Corallo [Mon, 24 Jun 2019 09:32:11 +0000 (11:32 +0200)]
add char * type support

6 years agobetter options
Andrea Corallo [Mon, 24 Jun 2019 08:05:22 +0000 (10:05 +0200)]
better options

6 years agoadd cons definition
Andrea Corallo [Sun, 23 Jun 2019 18:50:05 +0000 (20:50 +0200)]
add cons definition

6 years agoCASE_CALL_NARGS -> CASE_CALL_N
Andrea Corallo [Sun, 23 Jun 2019 17:17:22 +0000 (19:17 +0200)]
CASE_CALL_NARGS -> CASE_CALL_N

6 years agoremove scratch call mechanism
Andrea Corallo [Sun, 23 Jun 2019 17:16:10 +0000 (19:16 +0200)]
remove scratch call mechanism

6 years agolocals to array
Andrea Corallo [Sun, 23 Jun 2019 16:50:21 +0000 (18:50 +0200)]
locals to array

6 years agobblock -> block
Andrea Corallo [Sun, 23 Jun 2019 16:29:27 +0000 (18:29 +0200)]
bblock -> block

6 years agoadd format_string
Andrea Corallo [Sun, 23 Jun 2019 16:18:57 +0000 (18:18 +0200)]
add format_string

6 years agopostfix struct with _s
Andrea Corallo [Sun, 23 Jun 2019 15:34:40 +0000 (17:34 +0200)]
postfix struct with _s

6 years agoadd discard macro
Andrea Corallo [Sun, 23 Jun 2019 15:30:00 +0000 (17:30 +0200)]
add discard macro

6 years agoset target stacks for safety
Andrea Corallo [Sun, 23 Jun 2019 15:20:42 +0000 (17:20 +0200)]
set target stacks for safety

6 years agofix struct thread_state definition
Andrea Corallo [Sun, 23 Jun 2019 14:54:06 +0000 (16:54 +0200)]
fix struct thread_state definition

6 years agofix awful pad hack in define_handler_struct
Andrea Corallo [Sun, 23 Jun 2019 14:41:04 +0000 (16:41 +0200)]
fix awful pad hack in define_handler_struct

6 years agoadd non locals tests
Andrea Corallo [Sun, 23 Jun 2019 10:08:59 +0000 (12:08 +0200)]
add non locals tests

6 years agojmp_buf as struct + offset workaround
Andrea Corallo [Sun, 23 Jun 2019 09:44:30 +0000 (11:44 +0200)]
jmp_buf as struct + offset workaround

6 years agofix pushhandler
Andrea Corallo [Sun, 23 Jun 2019 08:18:35 +0000 (10:18 +0200)]
fix pushhandler

6 years agodump all ops as comments
Andrea Corallo [Sat, 22 Jun 2019 16:04:16 +0000 (18:04 +0200)]
dump all ops as comments

6 years agopushhandler
Andrea Corallo [Sat, 22 Jun 2019 15:36:18 +0000 (17:36 +0200)]
pushhandler

6 years agobetter emit_lisp_obj_from_ptr
Andrea Corallo [Sat, 22 Jun 2019 15:13:31 +0000 (17:13 +0200)]
better emit_lisp_obj_from_ptr

6 years agobetter logging into emit_scratch_callN
Andrea Corallo [Sat, 22 Jun 2019 15:13:03 +0000 (17:13 +0200)]
better logging into emit_scratch_callN

6 years agoimrpve macros
Andrea Corallo [Sat, 22 Jun 2019 15:12:35 +0000 (17:12 +0200)]
imrpve macros

6 years agorework debug dump
Andrea Corallo [Thu, 20 Jun 2019 21:31:16 +0000 (23:31 +0200)]
rework debug dump

6 years agoname basic blocks
Andrea Corallo [Thu, 20 Jun 2019 20:11:38 +0000 (22:11 +0200)]
name basic blocks

6 years agoadding Bpushconditioncase Bpushcatch
Andrea Corallo [Mon, 17 Jun 2019 13:37:08 +0000 (15:37 +0200)]
adding Bpushconditioncase Bpushcatch

6 years agomore type definitions
Andrea Corallo [Mon, 17 Jun 2019 07:59:41 +0000 (09:59 +0200)]
more type definitions

6 years agobetter macro usage
Andrea Corallo [Mon, 17 Jun 2019 07:18:17 +0000 (09:18 +0200)]
better macro usage

6 years agouse emacs_int
Andrea Corallo [Sun, 16 Jun 2019 20:04:43 +0000 (22:04 +0200)]
use emacs_int

6 years agosome renaming convention
Andrea Corallo [Sun, 16 Jun 2019 14:34:14 +0000 (16:34 +0200)]
some renaming convention